//
//  EditNameView.m
//  Hui
//
//  Created by HawkingWang on 16/11/1.
//  Copyright © 2016年 Hui. All rights reserved.
//

#import "EditNameView.h"

@implementation EditNameView

- (IBAction)close:(id)sender {
    _editViewClick(0);
}

- (IBAction)edit:(id)sender {
    _editViewClick(1);
}

- (BOOL)textFieldShouldReturn:(UITextField *)textField{
    [_nickName resignFirstResponder];
    return YES;
}
- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
    [_nickName resignFirstResponder];
}

@end
